package com.jswlw.dao.base;

import com.jswlw.entity.base.Menu;

import java.util.List;
import java.util.Map;

public interface MenuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    int findCount(Map map);

    List<Menu> findAll(Map condition);

    List<Menu> findMenu4Role(Integer roleId);
}